import Layout from '@/layout'

const chart =  {
    path: "/chart",
    component: Layout,
    redirect: "/chart/inventory",
    name: 'inventory',
    meta: {
      title: '统计分析',
      icon: 'add'
    },
    children: [
      {
        path: 'chart/inventory',
        component: () => import('@/views/chart/inventory'),
        name: '库存统计',
        meta: { title: '库存统计', icon: 'addUser' }
      },
      {
        path: 'chart/inOrder',
        component: () => import('@/views/chart/inOrder'),
        name: '进货统计',
        meta: { title: '进货统计', icon: 'addProduct' }
      },
      {
        path: 'echart/outOrder',
        component: () => import('@/views/chart/outOrder'),
        name: '出货统计',
        meta: { title: '出货统计', icon: 'addProduct' }
      }
    ]
  }

  export default chart
